home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / programming / e / easyplugins / install_easyplugins < prev    next >
Text File  |  1997-12-06  |  4KB  |  128 lines

  1. ;
  2. ;   $VER: Install_EasyPLUGINs 1.3 (23.11.97)
  3. ;
  4. ;       Integrated German strings; thanks to Ralph Wermke for this! :)
  5. ;
  6. ;       (While I was reworking the script for that, made the language
  7. ;        sections modular; adding a new one just requires copying one
  8. ;        and editing the strings.)
  9. ;
  10.  
  11. (complete 0)
  12.  
  13. ; set language strings
  14.  
  15. (if (= @language "deutsch")
  16.     (
  17.         (set #MODULES_PROMPT "Installieren der EasyPLUGINs Module?")
  18.         (set #MODULES_HELP   "Ich denke du willst sie installieren, sonst hättest du das Installationsskript nicht gestartet :)")
  19.  
  20.         (set #DEST_PROMPT    "Wähle den Pfad aus wohin die Quellcodes und Dokumentationen installiert werden sollen. Wenn das Verzeichnis EasyPLUGINs noch nicht existiert wird es angelegt.")
  21.  
  22.         (set #GUIDE_PROMPT   "Installieren der EasyPLUGINs Hauptdokumentation?")
  23.         (set #GUIDE_HELP     "Du solltest sie vielleicht lesen.")
  24.  
  25.         (set #DOCS_PROMPT    "Installieren der Dokumentationen für die PLUGINs?")
  26.         (set #DOCS_HELP      "Du solltest sie vielleicht lesen.")
  27.  
  28.         (set #EXAMP_PROMPT   "Installieren der EasyPLUGINs-Beispiel Quellcodes?")
  29.         (set #EXAMP_HELP     "Sehr empfehlenswert.")
  30.         
  31.         (set #SOURCE_PROMPT  "Installieren der Quellcodes für die EasyPLUGINs Module?")
  32.         (set #SOURCE_HELP     "Du kannst sie verändern wenn du willst - lies dazu die Dokumentation für die Nutzungsbedingungen.")
  33.     )
  34.     (
  35.         (set #MODULES_PROMPT "Install the EasyPLUGINs modules?")
  36.         (set #MODULES_HELP   "I guess you want to install these, otherwise you wouldn't be running the install script :)")
  37.  
  38.         (set #DEST_PROMPT    "Choose the path where the source code and documentation will be installed. If the EasyPLUGINs directory does not exist, it will be created.")
  39.  
  40.         (set #GUIDE_PROMPT   "Install the main EasyPLUGINs documentation?")
  41.         (set #GUIDE_HELP     "You should probably read this.")
  42.  
  43.         (set #DOCS_PROMPT    "Install the documentation for the PLUGINs?")
  44.         (set #DOCS_HELP      "You should probably read these.")
  45.  
  46.         (set #EXAMP_PROMPT   "Install the EasyPLUGINs example source code?")
  47.         (set #EXAMP_HELP     "Extremely recommended.")
  48.  
  49.         (set #SOURCE_PROMPT  "Install the source code to the EasyPLUGINs modules?")
  50.         (set #SOURCE_HELP    "You might want to modify these - read the documentation for the conditions of use.")
  51.     )
  52. )
  53.  
  54. ; copy the modules to EModules:
  55.  
  56. (copyfiles (prompt #MODULES_PROMPT)
  57.            (source "modules/")
  58.            (all)
  59.            (dest   "EModules:EasyPLUGINs")
  60.            (confirm)
  61.            (help   #MODULES_HELP)
  62. )
  63.  
  64. (complete 10)
  65.  
  66. ; get the installation directory
  67.  
  68. (set #DESTINATION
  69.           (askdir (prompt  #DEST_PROMPT)
  70.                   (help    @default-help)
  71.                   (default @default-dest)
  72.           )
  73. )
  74.  
  75. (complete 15)
  76.  
  77. ; Find/make main directory, install main .guide
  78.  
  79. (set #DEST_MAIN     (tackon #DESTINATION "EasyPLUGINs"))
  80.  
  81. (copyfiles (prompt  #GUIDE_PROMPT)
  82.            (source  "EasyPLUGINs.guide")
  83.            (dest    #DEST_MAIN)
  84.            (infos)
  85.            (confirm)
  86.            (help    #GUIDE_HELP)
  87. )
  88.  
  89. (complete 35)
  90.  
  91. ; install the documentation for the PLUGINs
  92.  
  93. (copyfiles (prompt  #DOCS_PROMPT)
  94.            (source  "docs")
  95.            (all)
  96.            (dest    (tackon #DEST_MAIN   "docs"))
  97.            (confirm)
  98.            (help    #DOCS_HELP)
  99. )
  100.  
  101. (complete 60)
  102.  
  103. ; install the examples for the PLUGINs
  104.  
  105. (copyfiles (prompt  #EXAMP_PROMPT)
  106.            (source  "examples")
  107.            (all)
  108.            (dest    (tackon #DEST_MAIN   "examples"))
  109.            (confirm)
  110.            (help    #EXAMP_HELP)
  111. )
  112.  
  113. (complete 85)
  114.  
  115. ; install the sources of the PLUGINs
  116.  
  117. (copyfiles (prompt  #SOURCE_PROMPT)
  118.            (source "source")
  119.            (all)
  120.            (dest    (tackon #DEST_MAIN   "source"))
  121.            (confirm)
  122.            (help    #SOURCE_HELP)
  123. )
  124.  
  125. (complete 100)
  126. (exit)
  127.  
  128.